<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html" locale="en">
	<h:head/>
	<h:outputStylesheet library="css" name="main.css"/>
	<h:outputStylesheet library="css" name="bootstrap.min.css"/>
	<h:body>
		<p:panel id="login" header="Login" styleClass="login-panel">
		
			<form class="form-horizontal" action="#{request.contextPath}/views/login.xhtml" method="post">
					<div class="form-group">
						<input class="form-control" type="text" name="username" placeholder="Username"/>
					</div>
					<div class="form-group">
						<input class="form-control" type="password" name="password" placeholder="Password"/>
					</div>
					<div class="form-group">
						<input class="btn btn-default" type="submit" value="Login"/>
					</div>
			</form>
			<div style="text-align: right">
				<h:link value="Register" outcome="/views/registration.xhtml"/>
			</div>
		</p:panel>
	</h:body>
</f:view>
</html>